package com.guigu.test;

import com.guigu.service.ServiceA;
import com.guigu.service.ServiceB;

public class ClientSet{
    public static void main(String[] args){
        //创建serviceAA
        ServiceA a = new ServiceA();
        //创建serviceBB
        ServiceB b = new ServiceB();
        //将serviceA入到serviceB中
        b.setServiceA(a);
        //将serviceB法入到serviceA中
        a.setServiceB(b);
    }
}
